<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>大事件</title>
  <script>
    if(!localStorage.getItem('token')){
      location.href = '/admin/login.html'
    }
  </script>
  <link rel="stylesheet" href="/admin/assets/lib/layui/css/layui.css">
  <link rel="stylesheet" href="/admin/assets/fonts/iconfont.css">
  <link rel="stylesheet" href="/admin/assets/css/index.css">
</head>

<body class="layui-layout-body">
  <div class="layui-layout layui-layout-admin">
    <div class="layui-header">
      <div class="layui-logo">
        <h2>后台管理系统</h2>
      </div>

      <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item">
          <a href="javascript:;">
            <img src="/home/images/collect_active.png" class="layui-nav-img">
            <!-- 文字头像 -->
            <!-- <span class="text_avatar">A</span> -->
            个人中心
          </a>
        </li>
        <li class="layui-nav-item"><a id="logoutBtn" href="javascript:;"><span class="iconfont icon-tuichu"></span>退出</a></li>
      </ul>
    </div>

    <div class="layui-side layui-bg-black">
      <div class="layui-side-scroll">

        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree" lay-shrink="all" lay-filter="test">
          <li class="layui-nav-item layui-this"><a href="/home/dashboard.html" target="box"><span class="iconfont icon-home"></span>首页</a></li>
          <li class="layui-nav-item">
            <a class="" href="javascript:;"><span class="iconfont icon-16"></span>用户管理</a>
            <dl class="layui-nav-child">
              <dd><a href="/admin/user/user.html" target="box"><i class="layui-icon layui-icon-app"></i> 用户列表</a></dd>
              <dd><a href="/admin/user/add.html" target="box"><i class="layui-icon layui-icon-app"></i> 添加用户</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item">
            <a href="javascript:;"><span class="iconfont icon-user"></span>资源管理</a>
            <dl class="layui-nav-child">
              <dd><a href="/user/user_info.html" target="box"><i class="layui-icon layui-icon-app"></i> 友情链接</a></dd>
              <dd><a href="./swiper/swiper.html" target="box"><i class="layui-icon layui-icon-app"></i> 轮播图</a></dd>
              <dd><a href="/user/user_pwd.html" target="box"><i class="layui-icon layui-icon-app"></i> 评论管理</a></dd>
              <!-- <dd><a href="">超链接</a></dd> -->
            </dl>
          </li>
          <!-- <li class="layui-nav-item"><a href="">云市场</a></li>
        <li class="layui-nav-item"><a href="">发布商品</a></li> -->
        </ul>
      </div>
    </div>

    <div class="layui-body">
      <!-- 内容主体区域 -->
      <iframe name="box" src="/admin/user/user.html" frameborder="0"></iframe>
    </div>

    <div class="layui-footer">
      <!-- 底部固定区域 -->
      © layui.com - 底部固定区域
    </div>
  </div>
  <script src="./assets/lib/jquery.js"></script>
  <script src="./assets/lib/jquery.particleground.min.js"></script>
  <script src="./assets/js/common.js"></script>
  <script src="./assets/lib/layui/layui.all.js"></script>
  <!-- <script src="/assets/lib/axios.min.js"></script>
  <script src="/assets/js/ajaxBase.js"></script> -->
  <script src="./assets/js/index.js"></script>

</body>

</html>